const QRCOde = require('qrcode');

QRCOde.toString("Hello World", {type: 'terminal'}, function (err, url) {
    console.log(url);
})